<?php #20070415 http://www.framework.altervista.org/FrameWork/blocks/left/01_Calendar.inc
define('BLOCKCALENDAR','1.00');

/************************************************************************/
/* FrameWork  test preview                                              */
/* ==================================================================== */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/


//carica la lingua se esiste
$lang=lang();
switch($lang){
    case "en":
	define("_CALENDAR","Calendar");
	define("_DATA","DATE");
	define("_ORA","TIME");
	break;
    default:
	define("_CALENDAR","Calendario");
	define("_DATA","DATA");
	define("_ORA","ORA");
	break;
}

?>
 <?php structure_openBlock("table block calendar",_CALENDAR,""); ?>
	<p>

		<b><?=_DATA?>:</b> <?="".date("d/m/Y",time()+(3600*fuso_orario()))?> <br />
		<b><?=_ORA?>:</b> <?="".date("H:i",time()+(3600*fuso_orario()));?> <br />

	</p>

<?php structure_closeBlock(); ?>
